using System.Collections.Generic;

namespace GuitarChordFinder
{
    /// <summary>
    /// A Data Source for the list of Notes.
    /// </summary>
    public class NoteData
    {
        public List<Note> NoteList { get; set; }
        private const string SOURCE_ROOT = "GuitarChordFinder;component/images";

        public NoteData()
        {
            NoteList = new List<Note>
           {
               new Note{Code = "A", ImageSource = SOURCE_ROOT + "/A.png"},
               new Note{Code = "A#", ImageSource = SOURCE_ROOT + "/Asharp.png"},
               new Note{Code = "B", ImageSource = SOURCE_ROOT + "/B.png"},
               new Note{Code = "C", ImageSource = SOURCE_ROOT + "/C.png"},
               new Note{Code = "C#", ImageSource = SOURCE_ROOT + "/Csharp.png"},
               new Note{Code = "D", ImageSource = SOURCE_ROOT + "/D.png"},
               new Note{Code = "D#", ImageSource = SOURCE_ROOT + "/Dsharp.png"},
               new Note{Code = "E", ImageSource = SOURCE_ROOT + "/E.png"},
               new Note{Code = "F", ImageSource = SOURCE_ROOT + "/F.png"},
               new Note{Code = "F#", ImageSource = SOURCE_ROOT + "/Fsharp.png"},
               new Note{Code = "G", ImageSource = SOURCE_ROOT + "/G.png"},
               new Note{Code = "G#", ImageSource = SOURCE_ROOT + "/Gsharp.png"}
           };
        }
    }
}